package reno.ribbon.ribbon.warframemarket;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WarfrmaeMarketController {

    @Autowired
    WarframeMarketService warframeMarketService;

    @RequestMapping(value = "/getWarframeMarket")
    public JSONObject getCetusCycle(@RequestParam(name = "itemCn") String itemCn) {
        return warframeMarketService.getWarframeMarket(itemCn);
    }


}
